﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="ie=7"/>
<script type='text/javascript' src='dwr/engine.js'></script>
<script type="text/javascript" src="lovejes/lovejes.js"></script>
<script type="text/javascript" src="cuniao/js/sys_util.js"></script>
<script type="text/javascript" src="cuniao/js/front/index.js"></script>
<link rel="shortcut icon" href="http://www.cuniao.com/dpupload/logo.ico"/>
<link href="cuniao/themes/default/css/css.css" rel="stylesheet" type="text/css"/>
<link href="cuniao/themes/default/css/regbus.css" rel="stylesheet" type="text/css">
<title>簇鸟网 | 做有感情的活动平台</title>
<meta name="description" content="簇鸟网是专注于朋友间的聚会活动平台 做有感情的活动平台"/>
<meta name="keywords" content="簇鸟网，杭州同城交友,杭州线下活动，同城聚会，线下活动"/>
</head>
<script>
function doLogin(){
	DWRUtil.useLoadingMessage("正在登入中...");
	var param = Jes.getFormValue("form1",0);
	if(param == null) return;
	Jes.doAction("doLogin@CnAction",param.email,param.password,1,function(url){
		if(param.repsd=='1'){
			Jes.ie({name:'cuniao.repsd',val:1,exp:7,path:'/cuniao/'}
			,{name:'cuniao.email',val:param.email,exp:7,path:'/cuniao/'}
			,{name:'cuniao.psd',val:param.password,exp:7,path:'/cuniao/'});
		}
		if(!Jes.userSess(1)) return;//session
		Jes.goUrl(url);
	});
}
function doSina(){
	Jes.doAction("doSina@CnAction",function(url){
		Jes.goUrl(url);
	});
}
function doTencent(){
	Jes.doAction("doTencent@CnAction",function(url){
		Jes.goUrl(url);
	});
}
window.onload = function(){
	$("email").focus();
	var ck = Jes.ie('cuniao.email','cuniao.psd','cuniao.repsd');
	Jes.setFormValue('form1',{email:ck[0],password:ck[1],repsd:ck[2]});
	if(!Jes.isNull(ck[1]) && ck[2]==1){
		doLogin();
	}
	document.documentElement.onkeydown = function(){
		if(event.keyCode == 13){
			doLogin();
		}
	}
}
</script>
<body>
<div class="reg_wrapper">
	<div class="reg_header">
		<div class="logo">
		</div>
	</div>
	<div class="reg_main" style="width:500px;">
	<div class="reg_title"><span>欢迎回来簇鸟网</span></div>
		<div class="left">
			<div class="mod" id="mod">
				<form name="form1" method="post" id="form1" action="" >
					<div class="item">
                			<label>邮 箱</label>
                			<input id="email" name="email" type="email" title="邮箱" class="" maxlength="60" value="" required>
            		</div>
            		<div class="item">
                			<label>密 码</label>
                			<input id="password" name="password" type="password" title="密码" class="" maxlength="20" value="" required/>
                			<a href="../cuniao/cuniao/acl/findpsd.html"class="forget">忘记密码？ </a>
            		</div>
            	   	<div class="item rembtn">
                        	<input type="checkbox"  name="repsd" id="repsd" class="checkbox" checked="true" value="1"/><span>记住密码 </span>
              				<input name="submit" type="button" value="登 录" class="button_dl" onclick="doLogin();"/> 
                        </div>
				</form>
				<div style="height:0; clear:both;"></div>
            	<div class="item hzimg">
                	<p>其他帐号登录</p>
						<div class="linkimg">
							<a href="javascript:doSina();;" title=""><img src="/cuniao/cuniao/themes/default/images/img_xl.gif"/></a>
							<a href="javascript:doTencent();" title=""><img src="/cuniao/cuniao/themes/default/images/img_qq.gif"/></a>
							<a href="javascript:alert('开发中...等等就来');" title=""><img src="/cuniao/cuniao/themes/default/images/img_rr.gif"/></a>
							<a href="javascript:alert('开发中...等等就来');" title=""><img src="/cuniao/cuniao/themes/default/images/img_kx.gif"/></a>
						</div>
						<p>
							还没有账号吗？赶紧去<a href="/cuniao/cuniao/acl/register.html" style="color:red">-->>注册</a>个吧
						</p>
				</div>
			</div>
		</div>
	</div>
	<div class="right">
	</div>
</div>
</body>
</html>